.class public Lcom/xingbook/group/activity/GroupTopicPublish;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Lcom/xingbook/group/view/n;
.implements Lcom/xingbook/group/view/w;


# instance fields
.field private a:Lcom/xingbook/group/view/TopicPopupView;

.field private b:Lcom/xingbook/group/view/PublishRelativeLayout;

.field private c:Landroid/app/ProgressDialog;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Landroid/util/SparseArray;

.field private g:Lcom/xingbook/group/activity/bo;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    new-instance v0, Lcom/xingbook/group/activity/bo;

    invoke-direct {v0, p0}, Lcom/xingbook/group/activity/bo;-><init>(Lcom/xingbook/group/activity/GroupTopicPublish;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->g:Lcom/xingbook/group/activity/bo;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupTopicPublish;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->c()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupTopicPublish;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/group/activity/GroupTopicPublish;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p2}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/xingbook/group/activity/GroupTopicPublish;)Lcom/xingbook/group/view/PublishRelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    return-object v0
.end method

.method private b()V
    .locals 2

    const-string v0, "\u53d1\u5e03\u8bdd\u9898"

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/xingbook/group/activity/GroupTopicPublish;->a(Ljava/lang/String;Z)V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/group/activity/bn;

    invoke-direct {v1, p0}, Lcom/xingbook/group/activity/bn;-><init>(Lcom/xingbook/group/activity/GroupTopicPublish;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method private c()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic c(Lcom/xingbook/group/activity/GroupTopicPublish;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->b()V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/group/activity/GroupTopicPublish;)Lcom/xingbook/group/view/TopicPopupView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/group/activity/GroupTopicPublish;)Lcom/xingbook/group/activity/bo;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->g:Lcom/xingbook/group/activity/bo;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/group/activity/GroupTopicPublish;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->e:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    invoke-virtual {v0}, Lcom/xingbook/group/view/TopicPopupView;->a()V

    return-void
.end method

.method public a(I)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    invoke-virtual {v0}, Lcom/xingbook/group/view/TopicPopupView;->b()Z

    packed-switch p1, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, ".jpg"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->d:Ljava/lang/String;

    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    sget-object v2, Lcom/xingbook/ting/a/a;->t:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :cond_0
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.media.action.IMAGE_CAPTURE"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v2, "output"

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    const/16 v0, 0x7d2

    invoke-virtual {p0, v1, v0}, Lcom/xingbook/group/activity/GroupTopicPublish;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.GET_CONTENT"

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    sget-object v1, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const-string v2, "image/*"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0x7d1

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/group/activity/GroupTopicPublish;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5708\u5b50-\u53d1\u5e03\u8bdd\u9898"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    invoke-super {p0, p1, p2, p3}, Lcom/xingbook/park/activity/BaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0x7d2

    if-ne p1, v0, :cond_1

    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    sget-object v2, Lcom/xingbook/ting/a/a;->t:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/16 v0, 0x7d1

    if-ne p1, v0, :cond_0

    if-eqz p3, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v1

    invoke-static {v1, p0}, Lcom/xingbook/group/b/d;->a(Landroid/net/Uri;Landroid/content/Context;)Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 9

    const/4 v2, 0x0

    const/4 v3, -0x1

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v6

    if-eqz v6, :cond_3

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_GROUPID"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TAG_KEYS"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TAG_VALUES"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_GROUPID"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->e:Ljava/lang/String;

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TAG_VALUES"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    const-string v1, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TAG_KEYS"

    invoke-virtual {v6, v1}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v4

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v5

    if-ne v4, v5, :cond_5

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v4

    move v5, v4

    :goto_0
    if-nez v5, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->finish()V

    :cond_0
    new-instance v4, Landroid/util/SparseArray;

    invoke-direct {v4}, Landroid/util/SparseArray;-><init>()V

    iput-object v4, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->f:Landroid/util/SparseArray;

    move v4, v2

    :goto_1
    if-lt v4, v5, :cond_2

    :goto_2
    if-eqz v6, :cond_4

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_DEFAULT_LIMIT"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string v0, "com.xingbook.group.activity.GroupTopicDetail.INTENT_DEFAULT_LIMIT"

    invoke-virtual {v6, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    move v1, v0

    :goto_3
    const v0, 0x7f030028

    const/4 v2, 0x0

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/view/PublishRelativeLayout;

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {v0, p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->setCallback(Lcom/xingbook/group/view/n;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->f:Landroid/util/SparseArray;

    invoke-virtual {v0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Landroid/util/SparseArray;)V

    if-eq v1, v3, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->c(I)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->b:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/group/activity/GroupTopicPublish;->setContentView(Landroid/view/View;)V

    new-instance v1, Lcom/xingbook/ui/t;

    new-instance v0, Lcom/xingbook/group/activity/bl;

    invoke-direct {v0, p0}, Lcom/xingbook/group/activity/bl;-><init>(Lcom/xingbook/group/activity/GroupTopicPublish;)V

    invoke-direct {v1, p0, v0}, Lcom/xingbook/ui/t;-><init>(Landroid/app/Activity;Lcom/xingbook/ui/x;)V

    const-string v0, "\u53d1\u5e03\u8bdd\u9898"

    iput-object v0, v1, Lcom/xingbook/ui/t;->c:Ljava/lang/String;

    const-string v0, "\u53d1\u5e16"

    iput-object v0, v1, Lcom/xingbook/ui/t;->d:Ljava/lang/String;

    const v0, -0x705e39

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/t;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v2

    sget v4, Lcom/xingbook/ui/t;->b:I

    invoke-direct {v0, v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/t;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v0, 0x7f0a0174

    invoke-virtual {p0, v0}, Lcom/xingbook/group/activity/GroupTopicPublish;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    const v0, 0x7f0a018b

    invoke-virtual {p0, v0}, Lcom/xingbook/group/activity/GroupTopicPublish;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/xingbook/group/view/TopicPopupView;

    invoke-direct {v1, p0}, Lcom/xingbook/group/view/TopicPopupView;-><init>(Landroid/app/Activity;)V

    iput-object v1, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    invoke-virtual {v1, p0}, Lcom/xingbook/group/view/TopicPopupView;->setListener(Lcom/xingbook/group/view/w;)V

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v3, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Lcom/xingbook/group/view/TopicPopupView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v1

    new-instance v2, Lcom/xingbook/group/activity/bm;

    invoke-direct {v2, p0, v0}, Lcom/xingbook/group/activity/bm;-><init>(Lcom/xingbook/group/activity/GroupTopicPublish;Landroid/widget/RelativeLayout;)V

    invoke-virtual {v1, v2}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->a:Lcom/xingbook/group/view/TopicPopupView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    return-void

    :cond_2
    iget-object v7, p0, Lcom/xingbook/group/activity/GroupTopicPublish;->f:Landroid/util/SparseArray;

    invoke-virtual {v1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v8

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v7, v8, v2}, Landroid/util/SparseArray;->append(ILjava/lang/Object;)V

    add-int/lit8 v2, v4, 0x1

    move v4, v2

    goto/16 :goto_1

    :cond_3
    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->finish()V

    goto/16 :goto_2

    :cond_4
    move v1, v3

    goto/16 :goto_3

    :cond_5
    move v5, v2

    goto/16 :goto_0
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupTopicPublish;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
